package com.allen.dto;

import com.allen.bean.Dish;
import com.allen.bean.DishFlavor;
import lombok.Data;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;

/**
 * @author dragon1006xu@gmail.com
 * @create 2022/2/18 15:15
 */
@ToString(callSuper = true) //打印继承父类的属性信息
@Data
public class DishDto extends Dish {
    private List<DishFlavor> flavors;
    private String categoryName; //菜品分类名称
    private Integer copies;
}
